#include<stdio.h>
void Printf(int (*p)[4], int h, int l)
{
	int i = 0;
	for (i = 0; i < h; i++)
	{
		int j = 0;
		for (j = 0; j < l; j++)
		{
			printf("%d ", (*(p+i))[j]);
		}
		printf("\n");
	}
}
int main()
{
	int arr[3][4] = { {1,2,3,4},{2,3,4,5},{3,4,5,6} };
	Printf(arr, 3, 4);
	return 0;
}